/**
 * @author xinjie.txt
 * @time: 2020年7月9日 下午2:56:52
 */
package com.jiepu.daily.corejava.day0709;

/**
 * @Description: 
 * @author xinjie.txt
 */
public class Person {

	private String name;
	private String genger;
	private int age;
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the genger
	 */
	public String getGenger() {
		return genger;
	}
	/**
	 * @param genger the genger to set
	 */
	public void setGenger(String genger) {
		this.genger = genger;
	}
	/**
	 * @return the age
	 */
	public int getAge() {
		return age;
	}
	/**
	 * @param age the age to set
	 */
	public void setAge(int age) {
		this.age = age;
	}
	
	/**
	 * 
	 */
	public Person() {
		super();
		// TODO Auto-generated constructor stub
	}
	/**
	 * @param name
	 * @param genger
	 * @param age
	 */
	public Person(String name, String genger, int age) {
		super();
		this.name = name;
		this.genger = genger;
		this.age = age;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "\tname: "+name+"\tgenger: "+genger+"\tage: "+age;
	}
}
